<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> 
<fieldset>
	<legend>&nbsp;&nbsp;&nbsp;&nbsp;业务模块添加</legend>
	<form class="form-horizontal" method="post" action="<%=request.getContextPath()%>/c?s=model&o=add&isajax=1">
	<div class="control-group">
		<label class="control-label">名称:</label>
		<div class="controls"><input type="text" name="m_name" class="field" /></div>
	</div>
	<div class="control-group">
		<label class="control-label">标题:</label>
		<div class="controls"><input type="text" name="m_title" class="field" /></div>
	</div>
	<div class="control-group">
		<label class="control-label">激活:</label>
		<div class="controls">
			<input class="yncheckbox" type="checkbox" checked="checked"/>
			<input type="hidden"  name="m_enable" class="ynradio" value="1" />
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">JavaBean:</label>
		<div class="controls"><input type="text" name="m_classname" class="field" /></div>
	</div>
	<div class="control-group">
		<label class="control-label">关联视图／表:</label>
		<div class="controls"><textarea name="m_view" class="txtarea">${table }</textarea></div>
	</div>
	
	<div class="control-group">
		<label class="control-label">ID:</label>
		<div class="controls"><input type="text" name="m_attr_id" class="field" /></div>
	</div>
	<div class="control-group">
		<label class="control-label">CLASS:</label>
		<div class="controls"><input type="text" name="m_attr_class" class="field" value="form"/></div>
	</div>
	<div class="control-group">
		<label class="control-label">其他属性:</label>
		<div class="controls">
			<span class="input-600"><textarea name="m_attr_other" class="txtarea"></textarea></span>
		</div>
	</div>
	
	<div class="control-group">
		<label class="control-label">Action:</label>
		<div class="controls">
			<span class="input-600"><input type="text" name="m_action" class="field" value="s=tpl"/></span>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">带有附件:</label>
		<div class="controls">
			<input class="yncheckbox" type="checkbox" />
			<input type="hidden"  name="m_upload" class="ynradio" value="0" />
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">仅自己可见:</label>
		<div class="controls">
			<input class="yncheckbox" type="checkbox"/>
			<input type="hidden"  name="m_private" class="ynradio" value="0" />
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">关联的用户字段:</label>
		<div class="controls"><input type="text" name="m_user" class="field"/></div>
	</div>
	
	<div class="form-actions">
		<button type="submit" class="btn btn-primary btn-ajax-save" >保存</button>
		<button class="btn btn-back">关闭</button>
	</div>
	</form>
</fieldset>
